<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php include_slot('title') ?></title>
<meta name="keywords" content="<?php include_slot('keywords') ?>" />
<meta name="description" content="<?php include_slot('description') ?>" />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>
<link rel="shortcut icon" href="/images/favicon.ico" />
</head>
<body>
  <div id="header">
    <div class="wrap clearfix">
      <h1>
        <a href="<?php echo url_for('@homepage') ?>">五行测评</a>
      </h1>
      <div class="panel">
        <?php if ($sf_user->isAuthenticated()): ?>
        <span><?php echo $sf_user->getUsername() ?></span>
        <a href="<?php echo url_for('@center') ?>">会员中心</a>
        <a href="<?php echo url_for('@sf_guard_signout') ?>">退出</a>
        <?php else: ?>
        <a href="<?php echo url_for('@sf_guard_signin') ?>">登录</a>
        <a href="<?php echo url_for('@sf_guard_register') ?>">注册</a>
        <?php endif ?>
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=1749713698&amp;site=qq&amp;menu=yes">
          <img border="0" src="http://wpa.qq.com/pa?p=2:1749713698:41" alt="点击这里给我发消息" title="点击这里给我发消息" />
        </a>
      </div>
      <div id="menu">
        <ul>
          <li class="current">
            <a href="<?php echo url_for('@homepage') ?>">首页</a>
          </li>
          <li>
            <a href="<?php echo url_for(array('sf_route' => 'about', 'role' => '01')) ?>">
              五行测评
            </a>
          </li>
          <li>
            <a href="<?php echo url_for(array('sf_route' => 'target', 'role' => '01')) ?>">
              目标受众
            </a>
          </li>
          <li>
            <a href="<?php echo url_for(array('sf_route' => 'study', 'role' => 'index')) ?>">
              在线学习
            </a>
          </li>
          <li>
            <a href="<?php echo url_for(array('sf_route' => 'shop', 'paper_id' => '1')) ?>">
              产品商城
            </a>
          </li>
        </ul>
      </div>
    </div>
  </div>
  <!-- end of header -->
  <div id="middle">
	<?php echo $sf_content ?>
  </div>
  <div id="footer">
    <div class="wrap">
      <div class="help">
        <dl>
          <dt>专家介绍</dt>
          <dd>
            <a href="/article/24">吴越</a>
            <em>五行人格专家</em>
          </dd>
          <dd>
            <a href="/article/23">张其成</a>
            <em>五行管理专家</em>
          </dd>
          <dd>
            <a href="/article/22">马仙蕊</a>
            <em>国学培训首创者</em>
          </dd>
          <dd>
            <a href="/article/21">李强</a>
            <em>易学专家</em>
          </dd>
        </dl>
        <dl>
          <dt>帮助中心</dt>
          <dd>
            <a href="<?php echo url_for(array('sf_route' => 'static_file', 'role' => 'about')) ?>">关于五行测评</a>
          </dd>
          <dd>
            <a href="<?php echo url_for(array('sf_route' => 'static_file', 'role' => 'pay')) ?>">支付方式</a>
          </dd>
          <dd>
            <a href="<?php echo url_for(array('sf_route' => 'static_file', 'role' => 'coin')) ?>">什么是金币？</a>
          </dd>
          <dd>
            <a href="<?php echo url_for(array('sf_route' => 'static_file', 'role' => 'contact')) ?>">联系我们</a>
          </dd>
        </dl>
        <dl>
          <dt>申请合作</dt>
          <dd>
            <a href="<?php echo url_for(array('sf_route' => 'static_file', 'role' => 'affiliate')) ?>">申请成为代理商</a>
          </dd>
          <dd>
            <a href="#">代理商中心</a>
          </dd>
          <dd>
            <a href="<?php echo url_for(array('sf_route' => 'static_file', 'role' => 'agreement')) ?>">使用协议</a>
          </dd>
          <dd>
            <a href="<?php echo url_for(array('sf_route' => 'static_file', 'role' => 'link')) ?>">友情链接</a>
          </dd>
        </dl>
        <dl>
          <dt>关注我们</dt>
          <dd class="icons-site sina">
            <a href="http://weibo.com/wuxingceping" target="_blank">到新浪微博关注我们</a>
          </dd>
          <dd class="icons-site qq">
            <a href="http://t.qq.com/wuxingceping" target="_blank">到腾讯微博关注我们</a>
          </dd>
          <dd class="icons-site renren">
            <a href="#">在人人网关注我们</a>
          </dd>
          <dd class="icons-site qzone">
            <a href="#">在QQ空间关注我们</a>
          </dd>
        </dl>
      </div>
      <div class="copyright">
        <span class="float-right">
          &copy; 2011 wuxingceping.com, all rights reserved
          <a href="http://www.miibeian.gov.cn/" target="_blank">冀ICP备11011362号</a>
        </span>
        <span class="slogan">
          五行测评，帮你寻找困惑的答案！
        </span>
      </div>
    </div>
  </div>
  <!-- end of footer -->
  <script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-23348222-1']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  </script>
</body>
</html>